package com.lollipop.ucenter.rpc.api;

import com.lollipop.common.service.CrudService;
import com.lollipop.ucenter.rpc.model.Resource;

import java.util.Set;

public interface ResourceService extends CrudService<Resource> {

    /**
     * 查找角色拥有资源集合
     *
     * @param roleId
     * @return
     */
    public Set<String> findResourcesByRoleId(String roleId);
}
